#ifndef __SEQSTACK_H__
#define __SEQSTACK_H__

#define null NULL
typedef void SeqStack;
typedef void SeqStackNode;

typedef struct func_SeqStack
{
    SeqStack *(*create)();
    int (*destroy)(SeqStack *);
    int (*clear)(SeqStack *);
    int (*length)(SeqStack *);
    int (*capacity)(SeqStack *);
    int (*push)(SeqStack *, SeqStackNode *);
    SeqStackNode *(*top)(SeqStack *);
    SeqStackNode *(*pop)(SeqStack *);
} func_SeqStack;

#endif
